package com.ffz.calcitesql.sqlparser.enums;

public enum ColumnType {
   COLUMN_NAME("1", "常规字段"),
   COLUMN_ALIAS("2", "常规字段带别名"),

   COLUMN_GROUP("3","字段为分组函数"),
   COLUMN_EXP("4","字段为表达式"),
   ;

   private String type;

   private String value;
   ColumnType(String type, String value) {
      this.type = type;
      this.value = value;
   }

   public String getValue() {
      return value;
   }

   public String getType() {
      return type;
   }
}
